<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>已安装应用</title>
    <jsp:include page="common/common_head.jsp"></jsp:include>


</head>
<body  data-spy="scroll" data-target=".navbar">



<jsp:include page="common/common_banner_app.jsp"></jsp:include>
<div style="height:30px"></div>
<div class="container">


	<table class="table  table-striped table-bordered table-hover " id = "showTable">

		<thead>
			<tr>
				<th>序号</th>
				<th>应用名称</th>
				<th>最新版本</th>
				<th>操作</th>

			</tr>
		</thead>
		<tbody>
		<c:forEach items="${app}" var="c" varStatus="v">
			<tr>
				<td>${v.index + 1}</td>
                <td><a href="appInstalledDetail.html?appName=${c.appInfo.appName}&version=${c.appInfo.version}">${c.appInfo.appName}</a></td>
                <td>${c.appInfo.version}</td>
                <td>
                    <%--<a href="/appManager/appShellIndex.html?appName=${c.appName}&action=start" class="btn">启动</a>--%>
                    <%--<a href="/appManager/appShellIndex.html?appName=${c.appName}&action=stop" class="btn">停止</a>--%>
                    <%--<a href="/appManager/appShellIndex.html?appName=${c.appName}&action=log" class="btn">查看日志</a>--%>
                    <%--<a href="/appManager/appShellIndex.html?appName=${c.appName}" class="btn">其他操作</a>--%>
                    <%--<a href="/app/appInstalledDetail.html?appName=${c.appName}&version=${c.version}" class="btn">服务器详情</a>--%>
                        <a href="/test/appShellIndex.html?appName=${c.appInfo.appName}" class="btn">其他操作</a>

                        <a href="/test/detail.html?name=${c.appInfo.appName}&host=${c.hosts}" class="btn">查看详情</a>

                </td>
			</tr>
		</c:forEach>

		</tbody>

	</table>



	<jsp:include page="common/common_js.jsp"></jsp:include>



	<script>




	</script>
</body>
</html>